import { reactive } from "vue";

export const PD_22 = reactive({
    communication_status: 1,
    PD_22: {
        "Inv1Curr_AI": 0.00,
        "Inv1Pow_AI": 0.00,
        "Inv1Freq_AI": 0.00,
        "Mot1RunFeed_DI": false,
        "Cool30Sw1Run_DI": false,
        "Drive1InUse_DI": false,
        "MainMot1Temp_AI": 0.00,
        "Inv2Curr_AI": 0.00,
        "Inv2Pow_AI": 0.00,
        "Inv2Freq_AI": 0.00,
        "Mot2RunFeed_DI": false,
        "Cool30Sw2Run_DI": false,
        "Drive2InUse_DI": false,
        "MainMot2Temp_AI": 0.00,
        "Inv3Curr_AI": 0.00,
        "Inv3Pow_AI": 0.00,
        "Inv3Freq_AI": 0.00,
        "Mot3RunFeed_DI": false,
        "Cool30Sw3Run_DI": false,
        "Drive3InUse_DI": false,
        "MainMot3Temp_AI": 0.00,
        "InvRunFailFault_DI": false,
        "ConsoleESTOP_DI": false,
        "OvTempSprayProt_DI": false,
        "IronRemoverRunFeed_DI": false,
        "IronRemoverRunFault_DI": false,
        "CoalPileProt1_DI": false,
        "CoalPileProt2_DI": false,
        "DrumTmp1_AI": 0.00,
        "DrumTmp2_AI": 0.00,
        "HNLock1_DI": false,
        "HNLock10_DI": false,
        "HNLock11_DI": false,
        "HNLock12_DI": false,
        "HNLock13_DI": false,
        "HNLock14_DI": false,
        "HNLock15_DI": false,
        "HNLock16_DI": false,
        "HNLock17_DI": false,
        "HNLock18_DI": false,
        "HNLock19_DI": false,
        "HNLock2_DI": false,
        "HNLock20_DI": false,
        "HNLock21_DI": false,
        "HNLock22_DI": false,
        "HNLock23_DI": false,
        "HNLock24_DI": false,
        "HNLock25_DI": false,
        "HNLock26_DI": false,
        "HNLock27_DI": false,
        "HNLock3_DI": false,
        "HNLock4_DI": false,
        "HNLock5_DI": false,
        "HNLock6_DI": false,
        "HNLock7_DI": false,
        "HNLock8_DI": false,
        "HNLock9_DI": false,
        "HNRunFeed_AI": 0.00,
        "HNTerminalVolt_AI": 0.00,
        "TensionPumpRunFeed_DI": false,
        "Cool30SwFault_DI": false,
        "DeviationProt1_DI": false,
        "DeviationProt2_DI": false,
        "DeviationProt3_DI": false,
        "DeviationProt4_DI": false,
        "CrusherRunFailFault_DI": false,
        "LubPumpRunFailFault_DI": false,
        "SpeedProt_AI": 0.00,
        "TempProt_AI": 0.00,
        "SmokeProt_DI": false,
        "TensionPumpPress_AI": 0.00,
        "TensionPumpPressFault_DI": false,
        "TensionPumpRunFault_DI": false,
        "BrakePumpPress_AI": 0.00,
        "BrakePumpPressFault_DI": false,
        "BrakePumpRunFeed_DI": false,
        "BrakePumpRunFailFault_DI": false,
        "LongTearProt1_DI": false,
        "LongTearProt2_DI": false,

    },
    PD_22_GEN: {
      HNWarn_DI: false,//总貌2-2皮带-华宁预警-2-2大巷皮带
      CtrlReset_DO: false,//总貌2-2皮带-控制区-故障复位
      CtrlStart_DO: false,//总貌2-2皮带-控制区-启动
      CtrlStop_DO: false,//总貌2-2皮带-控制区-停止
      Alarm_DI: false,//总貌2-2皮带-系统总故障-2-2大巷皮带
      BeltSpeed_AI: 0,//总貌2-2皮带-状态区-皮带速度
      RUNSts_DI: false,//总貌2-2皮带-状态区-运行状态
      CoalBunker_AI: 0,//总貌2-2皮带-总页面-2-2原煤仓仓位
      CrusherCtrlStart_DO: false,//总貌破碎机-控制区-启动
      CrusherCtrlStop_DO: false,//总貌破碎机-控制区-停止
      CrusherStatusRunState_DI: false,//总貌破碎机-状态区-运行状态
      LubPumpCtrlStart_DO: false,//总貌润滑泵-控制区-启动
      LubPumpCtrlStop_DO: false,//总貌润滑泵-控制区-停止
      LubPumpStatusRunState_DI: false,//总貌润滑泵-状态区-运行状态
    },

    //传感器参数 Modbus
    "404101": 0,
    "404102": 0,
    "408193": 0,
    "408194": 0,
    "408195": 0,
    "408196": 0,
    "404097": 0,
    "404098": 0,
    "408197": 0,
    "408198": 0,
    "408199": 0,
    "408200": 0,
    "404106": 0,
    "404114": 0,
    "404099": 0,
    "404100": 0,
    "404103": 0,
    "404104": 0,
    "408449": 0,
    "408450": 0,
    "408451": 0,
    "408452": 0,
    "408453": 0,
    "408454": 0,
    "409200": 0,
    //"404098":0,
    "404105": 0,
    "404113": 0,

});